package com.atguigu.jxc.service;

import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.CustomerReturnList;

import java.util.Map;

/**
 * @author 杨林
 * @create 2023-01-28 16:20 星期六
 * description:
 */
public interface CustomerReturnListGoodsService {
    /**
     * 获取退货商品的总数量
     * @param goodsId
     * @return
     */
    Integer getSumReturnGoods(Integer goodsId);

    /**
     * 客户退货单保存
     * @param customerReturnList
     * @param customerReturnListGoodsStr
     * @return
     */
    ServiceVO save(CustomerReturnList customerReturnList, String customerReturnListGoodsStr);

    /**
     * 退货单商品信息
     * @param customerReturnListId
     * @return
     */
    Map<String, Object> goodsList(Integer customerReturnListId);
}
